{% extends "base.html" %}

{% block head_title %}James Tauber{% if title %} : {{ title }}{% endif %}{% endblock %}

{% block extra_head %}
    <link rel="alternate" type="application/atom+xml" href="http://jtauber.com/atom/full/" />
{% endblock %}

{% block main_content %}
    <p>{% for step in breadcrumbs %}<a href="/{{ step.1 }}/">{{ step.0 }}</a> &gt; {% endfor %}</p>
    
    {% if title %}<h2 class="blog_list_title">{{ title }}</h2>{% endif %}
    
    {{ content|safe }}
    
    {% for entry in entries %}
        <div>
            <h2 class="entry_title"><a href="/{{ entry.path }}/">{{ entry.page_title }}</a></h2>
            
            {{ entry.content|safe }}
            
            <p class="blog_date">
                by {{ entry.author }} : 
                {% if entry.creation_time %}Created on {{ entry.creation_time|date }} : {% endif %}
                Last modified {{ entry.last_modified|date }} :
                {% if entry.categories %}
                    Categories
                 {% for category in entry.categories %}<a href="/{{ category }}/">{{ category }}</a> {% endfor %} :
                {% endif %}
                {% if entry.show_comment_count %}
                    {{ entry.comment_count }} comment{{ entry.comment_count|pluralize }}
                {% endif %}
                (<a href="/{{ entry.path }}/">permalink</a>)
            </p>
        </div>
    {% endfor %}
{% endblock %}

{% block extra_scripts %}      
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
    <script type="text/javascript">
        _uacct = "UA-175899-1";
        urchinTracker();
    </script>
{% endblock %}